import java.io.IOException;
import java.util.NoSuchElementException;

import controller.WTAAction;

/**
 * The UI class.
 * 
 * @author Faiz.
 * @version March 4th, 2011.
 * 
 */
public class UI {
	/**
	 * The wtaAction.
	 */
	private static WTAAction wtaAction;

	/**
	 * The main that runs the program.
	 * 
	 * @param args
	 * @throws IOException, if NullSuchElementException e.
	 * 
	 */
	public static void main(String[] args) throws IOException {
		try{
			wtaAction = new WTAAction("config.txt");
			wtaAction.run();
		} catch (NoSuchElementException e) {
			System.out.println("System exit");
		}
	}
}